import request from '@/utils/request'

//支付账号搜索接口
export function queryPayAccount(data) {
  return request({
    url: '/account/payment_account/query_list',
    method: 'post',
    data,
  })
}

//支付账号添加表单接口
export function addPayAccountForm(data) {
  return request({
    url: '/account/payment_account/add_item',
    method: 'post',
    data,
  })
}

//支付账号编辑表单接口
export function editPayAccountForm(data) {
  return request({
    url: '/account/payment_account/edit_item',
    method: 'post',
    data,
  })
}

//平台账号搜索接口
export function queryPlatForm(data) {
  return request({
    url: '/account/platform_account/query_list',
    method: 'post',
    data,
  })
}

//平台账号添加表单接口
export function addPlatFormForm(data) {
  return request({
    url: '/account/platform_account/add_item',
    method: 'post',
    data,
  })
}

//平台账号编辑表单接口
export function editPlatForm(data) {
  return request({
    url: '/account/platform_account/edit_item',
    method: 'post',
    data,
  })
}
